package org.edu.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * lzh
 * 纳税企业基本信息表
 * TmCompinfo entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "tm_compinfo")
public class TmCompinfo implements java.io.Serializable {

	// Fields
	/**企业基本信息id*/
	private Integer id;
	/**纳税人识别码*/
	private String taxcode;
	/**纳税人名称*/
	private String taxplayer;
	/**所属行业*/
	private String trade;
	/**企业经营方式*/
	private String managetype;
	/**征税方式*/
	private String levytype;
	/**企业类别*/
	private String biztype;
	/**注册资本*/
	private Integer regcapital;
	/**资产总额*/
	private Integer amount;
	/**金额单位*/
	private String captialtype;
	/**联系方式*/
	private String phone;

	// Constructors

	/** default constructor */
	public TmCompinfo() {
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "taxcode", nullable = false, length = 20)
	public String getTaxcode() {
		return this.taxcode;
	}

	public void setTaxcode(String taxcode) {
		this.taxcode = taxcode;
	}

	@Column(name = "taxplayer", nullable = false, length = 20)
	public String getTaxplayer() {
		return this.taxplayer;
	}

	public void setTaxplayer(String taxplayer) {
		this.taxplayer = taxplayer;
	}

	@Column(name = "trade", nullable = false, length = 20)
	public String getTrade() {
		return this.trade;
	}

	public void setTrade(String trade) {
		this.trade = trade;
	}

	@Column(name = "managetype", nullable = false, length = 20)
	public String getManagetype() {
		return this.managetype;
	}

	public void setManagetype(String managetype) {
		this.managetype = managetype;
	}

	@Column(name = "levytype", nullable = false, length = 20)
	public String getLevytype() {
		return this.levytype;
	}

	public void setLevytype(String levytype) {
		this.levytype = levytype;
	}

	@Column(name = "biztype", nullable = false, length = 20)
	public String getBiztype() {
		return this.biztype;
	}

	public void setBiztype(String biztype) {
		this.biztype = biztype;
	}

	@Column(name = "regcapital", nullable = false)
	public Integer getRegcapital() {
		return this.regcapital;
	}

	public void setRegcapital(Integer regcapital) {
		this.regcapital = regcapital;
	}

	@Column(name = "amount", nullable = false)
	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	@Column(name = "captialtype", nullable = false, length = 20)
	public String getCaptialtype() {
		return this.captialtype;
	}

	public void setCaptialtype(String captialtype) {
		this.captialtype = captialtype;
	}

	@Column(name = "phone", nullable = false, length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}